$OpenBSD: patch-Makefile,v 1.5 2008/11/20 07:49:51 wilfried Exp $
--- Makefile.orig	Thu Nov 13 02:31:49 2008
+++ Makefile	Thu Nov 20 08:40:53 2008
@@ -1,5 +1,4 @@
 TGT=noip2
-CC=gcc
 PKG=noip-2.1.tgz
 
 PREFIX=/usr/local
@@ -7,11 +6,11 @@ CONFDIR=${PREFIX}/etc
 BINDIR=${PREFIX}/bin
 
 # these defines are for Linux
-LIBS=
-ARCH=linux
+#LIBS=
+#ARCH=linux
 
 # for Mac OS X and BSD systems that have getifaddr(), uncomment the next line
-#ARCH=bsd_with_getifaddrs
+ARCH=bsd_with_getifaddrs
 
 # for early BSD systems without getifaddrs(), uncomment the next line
 #ARCH=bsd
@@ -22,7 +21,7 @@ ARCH=linux
 # ARCH=sun
 
 ${TGT}: Makefile ${TGT}.c 
-	${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
+	${CC} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
 
 install: ${TGT} 
 	if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
